package com.ling.pl.autoproject.definition.logic.model;

import com.ling.pl.core.commons.annotation.Dict;
import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

/**
 * DataQuery编译后的hql/sql语句
 */
public class DataQueryCompilerSql {
    @Column(name = "SQL_TYPE", length = 150)
    @ModelProperty(comment = "语句类型")
    @Dict(code = "builder.entity.sqlType", des = "当为自定义类型时,编译结果DataQuerySql的语句类型sql,hql")
    String sqlType;

    @Column(name = "PARAM", length = 500)
    @ModelProperty(comment = "sql")
    String content;
}
